{layout name="p/base"}
    <div class="row">
      <div class="col-lg-12">
        <h1>卡管理 <small>卡信息</small></h1>
        <ol class="breadcrumb">
          <li><a href="/manager/index"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="###"><i class="fa fa-dashboard"></i> 卡信息列表</a></li>
          <li class="active"><i class="fa fa-table"></i> 添加卡</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          添加卡信息 
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <form class="form-horizontal" role="form" action="/card/addcard" method="post">
          <input type="hidden" name="caravan_id" value="{$id}">
            <div class="modal-header">
            <h4 class="modal-title" id="myModalLabel">
               添加卡信息
            </h4>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">合同号</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="contract_num" placeholder="请准备填写合同编号">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">营地名称</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="camp_name" disabled="" value="{$caravan_info.camps.name}" placeholder="请正确填写营地名称">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">泊位号</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="park_num" disabled="" value="{$caravan_info.park_num}" placeholder="请正确填写泊位号">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">房车编号</label>
              <div class="col-sm-9">
              <input class="form-control" type="text" name="number" disabled="" value="{$caravan_info.number}" placeholder="请正确填写房车编号">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-3">手机号码</label>
              <div class="col-sm-9">
                <input class="form-control" type="text" name="user_phone" placeholder="请填写购买人手机号码">
              </div>
            </div>
          </div>
          <div class="modal-footer">
            <a href="/manager/managerlist" type="button" class="btn btn-default" 
               data-dismiss="modal">返回
            </a>
            <button type="submit"  class="btn btn-primary">提交</button>
          </div>
        </form>
      </div>
    </div>
